package com.diy.springframework.step.reader;


import com.diy.springframework.step.registry.BeanDefinitionRegistry;
import com.diy.springframework.step.loader.ResourceLoader;
import com.diy.springframework.step.resource.Resource;

public interface BeanDefinitionReader {

    BeanDefinitionRegistry getRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource) throws Exception;

    void loadBeanDefinitions(Resource... resources) throws Exception;

    void loadBeanDefinitions(String location) throws Exception;


}
